Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: Using 'enum' keyword in java agent
Feedback Type: Problem
Product Area: Designer Client
Technical Area: Error Message
Platform: Windows XP client
Release: 8.0.1
Reproducible: Always

I was under the impression that Domino 8 used the Java 1.5 (5.0) JVM to run; while attempting to make use of the enum functionality that was introduced in 1.5, I receive the following warning:
"warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier".

Then "try -source 1.5 to use 'enum' as a keyword".

This is followed by an error expecting a ';' after the enum keyword, which I interpret as the compiler not making use of the 1.5 functionality. So my question is this - it seems like I have a 1.5 JVM and compiler, but that it is set by the Designer Client to compile in a 1.4 compatibility mode. Is there any way to modify this behavior?

Thanks,
Will


Feedback number WEBB7EUL2F created by ~Arnold Opjumimanettu on 05/21/2008


Using 'enum' keyword in java agent (~Arnold Opjumim... 21.May.08)
. . JavaCompilerTarget = 1.5 in notes.i... (~August Feztoog... 22.May.08)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS